//
//  TableViewCell.m
//  Notification
//
//  Created by Apple on 2017/3/23.
//  Copyright © 2017年 Apple. All rights reserved.
//

#import "TableViewCell.h"

@implementation TableViewCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.ima = [[UIImageView alloc]initWithFrame:CGRectMake(5, 5, 90, 80)];
        self.ima.backgroundColor = [UIColor blueColor];
        [self addSubview:self.ima];
        self.lab = [[UILabel alloc]initWithFrame:CGRectMake(100, 20, self.frame.size.width-100, 40)];
        self.lab.backgroundColor = [UIColor whiteColor];
        [self addSubview:self.lab];
        
    }
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
